let NERDTreeWinPos='right'
let NERDTreeWinSize=30
let NERDTreeMinimalUI=1
let NERDTreeIgnore = ['\.pyc$']

" Close NERDTree if it is the last windows
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif

map <C-f> :NERDTreeToggle<CR>
